package com.campsys.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.campsys.entity.User;
import com.campsys.service.dto.UserDTO;
import com.campsys.service.dto.UserQueryDTO;

public interface UserService {
    
    IPage<User> getUserList(Page<User> page, UserQueryDTO queryDTO);
    
    void addUser(UserDTO userDTO);
    
    void updateUser(UserDTO userDTO);
    
    void deleteUser(Long userId);
    
    void updateStatus(Long userId, Integer status);

    User getByUsername(String username);
} 